#include <stdio.h>
#include <stdlib.h>
#include <signal.h>
void sigproc()
{
    // signal(SIGINT, sigproc);
    printf("Ctrl-c is funny, right?\n");
}
void quitproc()
{
    printf("ctrl-\\ pressed!");
    exit(0);
}

int main(int argc, char const *argv[])
{
    signal(SIGINT, sigproc);
    signal(SIGQUIT, quitproc);
    printf("ababa\n");
    for(;;);
    return 0;
}
